﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
using System.Data;
using BusinessEntities;

namespace BusinessLogicLayer
{
    public class PhieuTheoDoi_Manager
    {
        private static PhieuTheoDoi_Adapter phieutd = new PhieuTheoDoi_Adapter();

        public DataTable PhongBenh_TimTheoMaYTa(string MaYTa)
        {
            return phieutd.PhongBenh_TimTheoMaYTa(MaYTa);
        }

        public int PhieuTheoDoi_Them(PhieuTheoDoi_Info info)
        {
            return phieutd.PhieuTheoDoi_Them(info);
        }

        public int PhieuTheoDoi_CapNhat(PhieuTheoDoi_Info info)
        {
            return phieutd.PhieuTheoDoi_CapNhat(info);
        }

        public int PhieuTheoDoi_Xoa(int MaPhieu)
        {
            return phieutd.PhieuTheoDoi_Xoa(MaPhieu);
        }

        public DataTable PhieuTheoDoi_All_TrongNgay(string MaYTa)
        {
            return phieutd.PhieuTheoDoi_All_TrongNgay(MaYTa);
        }

        public DataTable PhieuTheoDoi_All_MaYTa(string MaYTa)
        {
            return phieutd.PhieuTheoDoi_All_MaYTa(MaYTa);
        }

        public DataTable PhieuTheoDoi_MaBA(int MaBA)
        {
            return phieutd.PhieuTheoDoi_MaBA(MaBA);
        }

        public DataTable PhieuTheoDoi_TimTheoMaPhieu_MaYTa(string MaYTa, int MaPhieu)
        {
            return phieutd.PhieuTheoDoi_TimTheoMaPhieu_MaYTa(MaYTa, MaPhieu);
        }

        public DataTable PhieuTheoDoi_TimTheoMaBA_MaYTa(string MaYTa, int MaBA)
        {
            return phieutd.PhieuTheoDoi_TimTheoMaBA_MaYTa(MaYTa, MaBA);
        }

        public DataTable PhieuTheoDoi_TimTheoNgayGhi_MaYTa(string MaYTa, DateTime ThoiGianGhi)
        {
            return phieutd.PhieuTheoDoi_TimTheoNgayGhi_MaYTa(MaYTa, ThoiGianGhi);
        }

        public DataTable PhieuTheoDoi_TimTheoThangGhi_MaYTa(string MaYTa, DateTime ThoiGianGhi)
        {
            return phieutd.PhieuTheoDoi_TimTheoThangGhi_MaYTa(MaYTa, ThoiGianGhi);
        }

        public DataTable PhieuTheoDoi_TimTheoNamGhi_MaYTa(string MaYTa, DateTime ThoiGianGhi)
        {
            return phieutd.PhieuTheoDoi_TimTheoNamGhi_MaYTa(MaYTa, ThoiGianGhi);
        }

        public DataTable PhieuTheoDoi_BNXuatVien_MaYTa(string MaYTa)
        {
            return phieutd.PhieuTheoDoi_BNXuatVien_MaYTa(MaYTa);
        }

        public DataTable PhieuTheoDoi_TimTheoMaYTa(string MaYTa)
        {
            return phieutd.PhieuTheoDoi_TimTheoMaYTa(MaYTa);
        }

        public DataTable PhieuTheoDoi_TimTheoTenYTa(string TenYTa)
        {
            return phieutd.PhieuTheoDoi_TimTheoTenYTa(TenYTa);
        }

        public DataTable PhieuTheoDoi_TimTheoNgayGhi(DateTime ThoiGianGhi)
        {
            return phieutd.PhieuTheoDoi_TimTheoNgayGhi(ThoiGianGhi);
        }

        public DataTable PhieuTheoDoi_TimTheoThangGhi(DateTime ThoiGianGhi)
        {
            return phieutd.PhieuTheoDoi_TimTheoThangGhi(ThoiGianGhi);
        }

        public DataTable PhieuTheoDoi_TimTheoNamGhi(DateTime ThoiGianGhi)
        {
            return phieutd.PhieuTheoDoi_TimTheoNamGhi(ThoiGianGhi);
        }
    }
}
